Optimal. Leaf size=95 \[ -\frac {64 a^3 \cos ^3(c+d x)}{105 d (a+a \sin (c+d x))^{3/2}}-\frac {16 a^2 \cos ^3(c+d x)}{35 d \sqrt {a+a \sin (c+d x)}}-\frac {2 a \cos ^3(c+d x) \sqrt {a+a \sin (c+d x)}}{7 d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.11, antiderivative size = 95, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.087, Rules used = {2753, 2752}
\begin {gather*} -\frac {64 a^3 \cos ^3(c+d x)}{105 d (a \sin (c+d x)+a)^{3/2}}-\frac {16 a^2 \cos ^3(c+d x)}{35 d \sqrt {a \sin (c+d x)+a}}-\frac {2 a \cos ^3(c+d x) \sqrt {a \sin (c+d x)+a}}{7 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2752
Rule 2753
Rubi steps
\begin {align*} \int \cos ^2(c+d x) (a+a \sin (c+d x))^{3/2} \, dx &=-\frac {2 a \cos ^3(c+d x) \sqrt {a+a \sin (c+d x)}}{7 d}+\frac {1}{7} (8 a) \int \cos ^2(c+d x) \sqrt {a+a \sin (c+d x)} \, dx\\ &=-\frac {16 a^2 \cos ^3(c+d x)}{35 d \sqrt {a+a \sin (c+d x)}}-\frac {2 a \cos ^3(c+d x) \sqrt {a+a \sin (c+d x)}}{7 d}+\frac {1}{35} \left (32 a^2\right ) \int \frac {\cos ^2(c+d x)}{\sqrt {a+a \sin (c+d x)}} \, dx\\ &=-\frac {64 a^3 \cos ^3(c+d x)}{105 d (a+a \sin (c+d x))^{3/2}}-\frac {16 a^2 \cos ^3(c+d x)}{35 d \sqrt {a+a \sin (c+d x)}}-\frac {2 a \cos ^3(c+d x) \sqrt {a+a \sin (c+d x)}}{7 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.10, size = 59, normalized size = 0.62 \begin {gather*} -\frac {2 \cos ^3(c+d x) (a (1+\sin (c+d x)))^{3/2} \left (71+54 \sin (c+d x)+15 \sin ^2(c+d x)\right )}{105 d (1+\sin (c+d x))^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.37, size = 67, normalized size = 0.71
method | result | size |
default | \(-\frac {2 \left (1+\sin \left (d x +c \right )\right ) a^{2} \left (\sin \left (d x +c \right )-1\right )^{2} \left (15 \left (\sin ^{2}\left (d x +c \right )\right )+54 \sin \left (d x +c \right )+71\right )}{105 \cos \left (d x +c \right ) \sqrt {a +a \sin \left (d x +c \right )}\, d}\) | \(67\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.37, size = 122, normalized size = 1.28 \begin {gather*} -\frac {2 \, {\left (15 \, a \cos \left (d x + c\right )^{4} + 39 \, a \cos \left (d x + c\right )^{3} - 8 \, a \cos \left (d x + c\right )^{2} + 32 \, a \cos \left (d x + c\right ) + {\left (15 \, a \cos \left (d x + c\right )^{3} - 24 \, a \cos \left (d x + c\right )^{2} - 32 \, a \cos \left (d x + c\right ) - 64 \, a\right )} \sin \left (d x + c\right ) + 64 \, a\right )} \sqrt {a \sin \left (d x + c\right ) + a}}{105 \, {\left (d \cos \left (d x + c\right ) + d \sin \left (d x + c\right ) + d\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (a \left (\sin {\left (c + d x \right )} + 1\right )\right )^{\frac {3}{2}} \cos ^{2}{\left (c + d x \right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 6.08, size = 102, normalized size = 1.07 \begin {gather*} \frac {16 \, \sqrt {2} {\left (15 \, a \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{7} - 42 \, a \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{5} + 35 \, a \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{3}\right )} \sqrt {a}}{105 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int {\cos \left (c+d\,x\right )}^2\,{\left (a+a\,\sin \left (c+d\,x\right )\right )}^{3/2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________